package com.demo.task;

import java.time.LocalDateTime;

/**
 * @author Chen Wei
 * @date 2021-01-27 11:05
 */
public class TestTask implements Runnable{

    private String taskName = "【定时任务：测试】";

    @Override
    public void run() {
        System.out.println(taskName + "run方法正在运行:" + LocalDateTime.now());
    }
}
